package com.lxh.empwork.services;

import com.lxh.empwork.entity.Emp;
import com.github.pagehelper.PageInfo;
import com.lxh.empwork.entity.Emp;

import java.util.List;
import java.util.Map;


public interface EmpServices {
    Emp doLogin(String ename, String pwd);

    List<Emp> getEmpsByMaps(Map<String, String> parameterMap);

    PageInfo<Emp> getEmpsByMapsWithPage(Map<String, String> maps, int pageNum);

    boolean delEmp(int eno);

    boolean addEmp(Emp e);

    Emp getEmpByEno(int eno);

    boolean updateEmp(Emp e);
}
